<%@ page language="java" import="pandora.bo.DFAJ.*,pandora.dto.*,pandora.bo.login.*,java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>


<head>
<title> New product </title>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
<body>
<div id="main"><jsp:include page="/head.jsp" />


<div id="wrapper">

<div id="main_body">


<form action="FrontController?res=JSP/JSP_DFAJ/process.jsp" method=post>
<center>
<table>

<th>
<font size=5> NEW PRODUCT</font>
</th>
<tr>
<td> 
<b>Barcode</b> 
<br>
<input type="text" name="barcode" value="" size=11 maxlength=11></td>
<td>
<td> 
<b>Product Name</b> 
<br>
<input type="text" name="productName" value="" size=25 maxlength=25></td>
<td>
<b>Type</b>
<br>
<input type="text" name="type" value="" size=15 maxlength=20></td>
<td>
<b>Brand</b> 
<br>
<input type="text" name="brand" value="" size=15  maxlength=15>
<br></td>
<td> 
<b>Description</b> 
<br>
<input type="text" name="description" value="" size=25 maxlength=25></td>
<td>
<td>
<b>Price</b> 
<br>
<input type="text" name="price" value="" size=5  maxlength=5></td>
</tr>
<tr>
<td>
<input type="submit" value="Submit">
<input type="reset"  value="Reset">
</td>
</tr>
</table>
</center>
</form>


<% NewPriceList sessionPrices = (NewPriceList)session.getAttribute("session.prices");


if(sessionPrices == null || sessionPrices.getList().size() == 0){
			sessionPrices = new NewPriceList();
}
else{%>
<jsp:include page="/JSP/JSP_DFAJ/updates.jsp" />
<%}%>


<br><br><a href="FrontController?res=JSP/JSP_DFAJ/prices.jsp">Back</a><br><br>
	
</div>

</div>

<jsp:include page="/foot.jsp" /></div>
</body>

</html>

